.. highlightlang:: us .. index:: @f{date} .. _@f{date}: @f{date} ======== .. us.tag @f{date} NOTREADYENGLISH fieldfunction Writes the current date. .. function:: @f{date} @f{date(Formatstring)} .. us.params **Parameters** .. uparam:: Formatstring As an optional parameter a format string can be specified. See :ref:`DT_Format` for list of all options. .. us.example **Example** ``Date: @f{date}`` ``Date: @f{date(%d.%m.%Y)}`` ``Week: @f{date(KW %W)}`` **Output**: ``Date: 07.10.98`` ``Date: 07.10.1998`` ``Week: KW 40`` .. seealso:: :ref:`overview-field-functions`, :ref:`editupdate-fields`, :ref:`diagraminsert-field-function` :sub:`id-1005606`